FROM registry.cn-shenzhen.aliyuncs.com/crlandpmrepo/base_node_pm2:1.0.0
EXPOSE 4001
ARG PUBLISH_ENV
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
ADD / /case_repair_backend_front
WORKDIR /case_repair_backend_front
RUN mkdir /case_repair_backend_front/logs
CMD pm2 start server.js -i max --no-daemon
